package 线程.Test01;

public class ThreadTest01 {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.setName("mead in have");
        String s = myThread.getName();
        myThread.start();
        System.out.println(s);
        Thread currentThread = Thread.currentThread();
        System.out.println(currentThread.getName());
    }
}
